﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ToDoTask.aspx.cs" Inherits="MobileClient.ToDoTask" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register src="Header.ascx" tagname="Header" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ultimus Mobile Client</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <link href="Css/CSS.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="cont">
        <uc1:Header ID="Header1" runat="server" />
       <div class="lt5" width="100%">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                <tr>
                    <td width="15%" class="hide"><%= Resources.Resource.ToDoTask_ProcessName %></td>
                    <td width="35%" class="hide">
                        <div class="inputform" style="clear: both">
                            <asp:TextBox ID="txtProcessName" runat="server" Style="background-color: transparent;
                                height: 35px; border: 0px; font-size: 14px; font-family: 黑体, Aria; color: #7d8a93;
                                padding-top: 5px; padding-left: 10px;"></asp:TextBox>
                        </div>
                    </td>
                    <td width="15%"><%= Resources.Resource.ToDoTask_Incident %></td>
                    <td width="35%">
                        <div class="inputform" style="clear: both">
                            <asp:TextBox ID="txtIncident" runat="server" Style="background-color: transparent;
                                height: 35px; border: 0px; font-size: 14px; font-family: 黑体, Aria; color: #7d8a93;
                                padding-top: 5px; padding-left: 10px;"></asp:TextBox>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="hide"><%= Resources.Resource.ToDoTask_StepName %></td>
                    <td class="hide">
                        <div class="inputform" style="clear: both">
                            <asp:TextBox ID="txtStepName" runat="server" Style="background-color: transparent;
                                height: 35px; border: 0px; font-size: 14px; font-family: 黑体, Aria; color: #7d8a93;
                                padding-top: 5px; padding-left: 10px;"></asp:TextBox>
                        </div>
                    </td>
                    <td><%= Resources.Resource.ToDoTask_Summary %></td>
                    <td>
                        <div class="inputform" style="clear: both">
                            <asp:TextBox ID="txtSummary" runat="server" Style="background-color: transparent;
                                height: 35px; border: 0px; font-size: 14px; font-family: 黑体, Aria; color: #7d8a93;
                                padding-top: 5px; padding-left: 10px;"></asp:TextBox>
                        </div>
                    </td>
                    <td>
                     
                    </td>
                </tr>
                <tr>
                    <td ><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="images/Search.png" 
                            Width="101" Height="46" onclick="ImageButton1_Click"/></td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>
                       
                    </td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </table>
        </div>
        <div class="lt5">
            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="datalist">
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td class="lt6" align="left">
                                <table class="lt7" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td width="10%" align="center">
                                            <a href="ProcessMonitoring.aspx?ProcessName=<%# Server.UrlEncode(Eval("processname").ToString()) %>&Incident=<%# Eval("incident") %>">
                                                <p style="color: #7d8a93; font-size: 14px;">
                                                    <img src="images/btn_blue.png" width="36" height="36" />
                                                </p>
                                                <p style="color: #7d8a93; font-size: 14px;">
                                                    <%= Resources.Resource.ToDoTask_ProcessMonitoring %>
                                                </p>
                                            </a>
                                        </td>
                                        <td width="90%">
                                            <table width="100%" height="80" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td>
                                                        <a href="OpenForm.aspx?ProcessName=<%# Server.UrlEncode(Eval("processname").ToString()) %>&StepName=<%#Server.UrlEncode(Eval("StepName").ToString()) %>&Incident=<%# Eval("Incident") %>&TaskId=<%# Eval("TaskId") %>"><%= Resources.Resource.ToDoTask_ProcessName %>：
                                                        <%# Eval("processname") %></a>
                                                    </td>
                                                    <td>
                                                        <p style="color: #7d8a93; font-size: 14px;">
                                                            <%= Resources.Resource.ToDoTask_Incident %>：
                                                            <%# Eval("incident") %></p>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <p style="color: #7d8a93; font-size: 14px;">
                                                            <%= Resources.Resource.ToDoTask_Summary %>：
                                                            <%# Eval("summary") %></p>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <p style="color: #7d8a93; font-size: 14px;">
                                                            <%= Resources.Resource.ToDoTask_StepName %>：
                                                            <%# Eval("stepname") %></p>
                                                    </td>
                                                    <td  class="hide">
                                                        <p style="color: #7d8a93; font-size: 14px;">
                                                            <a href="javascript:void(0);"><%= Resources.Resource.ToDoTask_OpenForm %></a></p>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr>
                    <td class="lt6">
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="Count %RecordCount%"
                            HorizontalAlign="right" Width="100%" CssClass="aspNetPager" OnPageChanged="AspNetPager1_PageChanged"
                            PageSize="10" AlwaysShow="true" SubmitButtonStyle="display:none" InputBoxStyle="display:none"
                            NextPageText="<%$ Resources:Resource,AspNetPager_NextPageText %>" FirstPageText="<%$ Resources:Resource,AspNetPager_FirstPageText %>"
                            LastPageText="<%$ Resources:Resource,AspNetPager_LastPageText %>" PrevPageText="<%$ Resources:Resource,AspNetPager_PrevPageText %>">
                        </webdiyer:AspNetPager>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
